import IComponent from "../../base/ECSR/IComponent";

export default class AimComponent extends IComponent
{
    static cancelActionAngle:number = 0.268;       // 取消瞄准的角度,使用tan表示
    static aimPoint:cc.Vec2 = cc.v2(0,0);          // 发射点

    // isAim:boolean = false;
    aimVec:cc.Vec2 = cc.Vec2.ZERO;

    constructor()
    {
        super();
        this.type = "AimComponent";

        AimComponent.aimPoint = cc.v2(0, -288);
    }
    Clone():IComponent
    {
        return null;
    }
    // GetCommand(): string
    // {
    //     return "move";
    // }

    UpdateParams(paramsStrs:string[])
    {
    }
}